package com.gitee.yannzh.rune.support.crud.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@JsonInclude(JsonInclude.Include.NON_EMPTY)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DictData {
    private String value;
    private String label;
    private String color;

    public DictData(String value, String label) {
        this.value = value;
        this.label = label;
    }
}
